﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UserInterface.Model
{
    using Presenters;

    public static class FileActions
    {
        public static GameInterfaceCoordinator LoadGame()
        {
          return GameStorage.LoadFromBaseDirectoryOfCurrentDomain() as GameInterfaceCoordinator;
        }

        public static void SaveGame(GameInterfaceCoordinator coordinator)
        {
            GameStorage.SaveFileAsBinaryToBaseDirectoryOfCurrentDomain(coordinator);
        }
    }
}
